package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * zhang对象 product_history
 * 
 * @author ruoyi
 * @date 2024-03-11
 */
public class ProductHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 种类 */
    @Excel(name = "种类")
    private String listClass;

    /** 数量（和种类一一对应） */
    @Excel(name = "数量", readConverterExp = "和=种类一一对应")
    private String number;

    /** 有效或无效 */
    @Excel(name = "有效或无效")
    private Long effective;

    private String name;

    public void setName(String name){
        this.name=name;
    }

    public String getName(){
        return name;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setListClass(String listClass) 
    {
        this.listClass = listClass;
    }

    public String getListClass() 
    {
        return listClass;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setEffective(Long effective) 
    {
        this.effective = effective;
    }

    public Long getEffective() 
    {
        return effective;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("listClass", getListClass())
            .append("number", getNumber())
            .append("createTime", getCreateTime())
            .append("effective", getEffective())
            .toString();
    }
}
